<?php 
use services\models\MemberInfo;
?>
<?php 
foreach($data as $item):
    $username = MemberInfo::cache($item->uid)->username;
    $src = MemberInfo::getAvatarByMemberId($item->uid);
?>
    <li>
    	<div class="discuss_user_pic"><img <?=$src?> /></div>
        <div class="discuss_user_name"><span><?=$username?></span>说</div>
        <div class="detail_content"><?=$item->c_content;?></div>
    </li>
<?php endforeach;?>